package org.xxmi.cors.model.task;

import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public class TaskParams {
    private String taskName;
    private Integer isUse;
    private Integer runType;
    private Integer isRetry;
    private Integer retryNumber;
    private Integer executeCycle;
    private String runDate;
    private String createUser;
    private List<BusinessVo> businessData;
    private long taskId;
    private String executeDate;
    private String executeTime;
    private MultipartFile updateListFile;

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public Integer getIsUse() {
        return isUse;
    }

    public void setIsUse(Integer isUse) {
        this.isUse = isUse;
    }

    public Integer getRunType() {
        return runType;
    }

    public void setRunType(Integer runType) {
        this.runType = runType;
    }

    public Integer getIsRetry() {
        return isRetry;
    }

    public void setIsRetry(Integer isRetry) {
        this.isRetry = isRetry;
    }

    public Integer getRetryNumber() {
        return retryNumber;
    }

    public void setRetryNumber(Integer retryNumber) {
        this.retryNumber = retryNumber;
    }

    public Integer getExecuteCycle() {
        return executeCycle;
    }

    public void setExecuteCycle(Integer executeCycle) {
        this.executeCycle = executeCycle;
    }

    public String getRunDate() {
        return runDate;
    }

    public void setRunDate(String runDate) {
        this.runDate = runDate;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public List<BusinessVo> getBusinessData() {
        return businessData;
    }

    public void setBusinessData(List<BusinessVo> businessData) {
        this.businessData = businessData;
    }

    public long getTaskId() {
        return taskId;
    }

    public void setTaskId(long taskId) {
        this.taskId = taskId;
    }

    public String getExecuteDate() {
        return executeDate;
    }

    public void setExecuteDate(String executeDate) {
        this.executeDate = executeDate;
    }

    public String getExecuteTime() {
        return executeTime;
    }

    public void setExecuteTime(String executeTime) {
        this.executeTime = executeTime;
    }

    public MultipartFile getUpdateListFile() {
        return updateListFile;
    }

    public void setUpdateListFile(MultipartFile updateListFile) {
        this.updateListFile = updateListFile;
    }

    @Override
    public String toString() {
        return "TaskParams{" +
                "taskName='" + taskName + '\'' +
                ", isUse=" + isUse +
                ", runType=" + runType +
                ", isRetry=" + isRetry +
                ", retryNumber=" + retryNumber +
                ", executeCycle=" + executeCycle +
                ", runDate='" + runDate + '\'' +
                ", createUser='" + createUser + '\'' +
                ", businessData=" + businessData +
                ", taskId=" + taskId +
                ", executeDate='" + executeDate + '\'' +
                ", executeTime='" + executeTime + '\'' +
                ", updateListFile=" + updateListFile +
                '}';
    }
}
